d/tests: Make tests shellcheck-clean
authorSimon McVittie <smcv@debian.org>
Sat, 14 Dec 2019 11:29:18 +0000 (11:29 +0000)
committerSimon McVittie <smcv@debian.org>
Sat, 14 Dec 2019 11:29:18 +0000 (11:29 +0000)
debian/changelog
debian/tests/gnome-desktop-testing

index 4d0c60e6d3a7e6c121e0e663f68ec9f6b53b73aa..8ba1160f348222eb449a4027becc4583fa086590 100644 (file)
@@ -4,6 +4,7 @@ ostree (2019.6-1) UNRELEASED; urgency=medium
     - d/libostree-1-1.symbols: Update
   * d/tests/build: Use correct compiler for proposed autopkgtest
     cross-architecture testing support
+  * d/tests: Make tests shellcheck-clean
 
  -- Simon McVittie <smcv@debian.org>  Sat, 14 Dec 2019 10:52:40 +0000
 
index 5cf89bdfd4f48f17acf80ceb9361279c04da63af..e4346cac9af5572c316304657673b0c131a246fe 100755 (executable)
@@ -11,9 +11,7 @@ unset http_proxy
 unset https_proxy
 unset no_proxy
 
-e=0
-
-tests="$(gnome-desktop-testing-runner -l libostree | while read t; do
+tests="$(gnome-desktop-testing-runner -l libostree | while read -r t; do
        t="${t%% *}"
 
        case "$t" in
@@ -27,4 +25,6 @@ tests="$(gnome-desktop-testing-runner -l libostree | while read t; do
        echo "$t"
 done)"
 
+# Deliberately word-splitting
+# shellcheck disable=SC2046
 exec gnome-desktop-testing-runner $tests